package com.pan.common.barrier.listener;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置监听器
 * @author by panstark
 * @description
 * @notice
 * @date 2020/11/27
 */
@Configuration
public class ListenerConfig {

    // 这里会直接注入
    @Bean
    public InitListener startupListener() {
        return new InitListener();
    }
}
